package com.ideheima.zuoye.zuoye4;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一组数据：");
        String name = sc.next();
       // System.out.println("请再输入一组数据：");
        //String name1 = sc.next();
        StringBuilder sb = new StringBuilder(name);
        if (sb.reverse().toString().equals(name)){
            System.out.println("对称");
        }else {
            System.out.println("不对称");
        }
    }
}
